package com.bdqn.repository;

import com.bdqn.pojo.User;
import org.apache.catalina.Role;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface UserRepository extends JpaRepository<User,Long>, JpaSpecificationExecutor<User> {
    public List<User> findByUsrNameAndUsrPassword(String usrName, String usrPassword);
    public interface RoleRepository extends JpaRepository<Role,Long> {

    }
    }
